package com.insigma.business.common.controller;

import com.insigma.business.qrcode.merchant.dto.request.CareWelfareMerchantEntryApplySearchRequest;
import com.insigma.business.qrcode.merchant.service.MerchantEnterService;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;

@RestController
@RequestMapping("/common/excel")
public class ExcelController {
    @Resource
    private MerchantEnterService merchantEnterService;

    @PostMapping("/exportEnterApplyList")
    public void exportEnterApplyList(HttpServletResponse httpServletResponse,@RequestBody CareWelfareMerchantEntryApplySearchRequest request) {
        merchantEnterService.exportApplyList(httpServletResponse,request);
    }

}
